package com.mansoor.app.islamicnames.beans;


import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Mansoor
 * Date: Oct 14, 2009
 * Time: 11:06:56 PM
 * To change this template use File | Settings | File Templates.
 */

public class Name implements Serializable
{
    private Integer id;
    private String name;
    private String gender;
    private String meaning;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMeaning() {
        return meaning;
    }

    public void setMeaning(String meaning) {
        this.meaning = meaning;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }


    @Override
    public String toString()
    {
        final StringBuffer sb = new StringBuffer();
        sb.append("Name");
        sb.append("{id=").append(id);
        sb.append(", name='").append(name).append('\'');
        sb.append(", gender='").append(gender).append('\'');
        sb.append(", meaning='").append(meaning).append('\'');
        sb.append('}');
        return sb.toString();
    }


}
